package edu.sctu.practice.class01.nieyu.test.test05;

/**
 * Created by Administrator on 2015/10/15.
 */
public class Person {

    private String name;
    private int age;

    public Person(String name, int age) {

        this.name = name;
        this.age = age;

    }

    public void display() {

        System.out.println("姓名为：" + name +"\n"+ "年龄为：" + age);
    }

}
